package com.day0426.hero;/*
 * @创建者：黄苟苟
 * @创建时间：2021/4/26   19:07
 * @Description描述
 **/

import javafx.geometry.HPos;

import java.util.Scanner;

public class Hero {
    private String name;
    private int HP;
     private int level;
    private int type;
    public Hero() {
        this.HP = 100;
        this.level = 1;
    }
/*  主函数输入输出*/


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getHP() {
        return HP;
    }

    public void setHP(int HP) {
        this.HP = HP;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

}
